﻿namespace Webinator.Condition.Base
{
    using Enums;

    /// <summary>
    /// "Look for" base class.
    /// </summary>
    internal class LookForBase : ConditionBase
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="LookForBase"/> class.
        /// </summary>
        public LookForBase()
        {
            LookForText = string.Empty;
        }

        /// <summary>
        /// Gets or sets the text to look for, if set to null then it looks for any change.
        /// </summary>
        public string LookForText { get; set; }

        /// <summary>
        /// Gets or sets a value indicating how to match the <c>LookForText</c>.
        /// </summary>
        public Comparison Comparison { get; set; }
    }
}
